package com.youlai.boot.system.service;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.youlai.boot.system.model.entity.Plate;
import com.youlai.boot.system.model.event.query.PlatePageQuery;
import com.youlai.boot.system.model.vo.PlatePageVO;

import java.util.Set;

public interface PlateService extends IService<Plate> {

    Page<PlatePageVO> getPlatePage(PlatePageQuery queryParams);
    /**
     * 获取最大范围的数据权限
     *
     * @param plates
     * @return
     */
    Integer getMaximumDataScope(Set<String> plates);
}
